/*     */ package eos.moe.dragoncore;
/*     */ 
/*     */ import net.minecraft.client.Minecraft;
/*     */ import org.lwjgl.opengl.Display;
/*     */ import org.lwjgl.opengl.DisplayMode;
/*     */ 
/*     */ 
/*     */ public class km
/*     */ {
/*     */   @eos/moe/dragoncore/t(v = {"Display_SetResizable"})
/*     */   public static void z(boolean a) {
/*  12 */     Display.setResizable(false);
/*  13 */     Display.setResizable(a);
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_SetFullScreen"})
/*     */   public static void v(boolean a) {
/*  19 */     Minecraft minecraft = Minecraft.func_71410_x();
/*  20 */     if (a) {
/*  21 */       if (!minecraft.func_71372_G()) {
/*  22 */         minecraft.func_71352_k();
/*     */       }
/*     */     }
/*  25 */     else if (minecraft.func_71372_G()) {
/*  26 */       minecraft.func_71352_k();
/*     */     } 
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_IsFullScreen"})
/*     */   public static boolean z() {
/*  33 */     return Minecraft.func_71410_x().func_71372_G();
/*     */   }
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_IsResizable"})
/*     */   public static boolean v() {
/*  38 */     return Display.isResizable();
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_Desktop_Width"})
/*     */   public static int s() {
/*  44 */     return Display.getDesktopDisplayMode().getWidth();
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_Desktop_Height"})
/*     */   public static int y() {
/*  50 */     return Display.getDesktopDisplayMode().getHeight();
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_Window_Width"})
/*     */   public static int t() {
/*  56 */     return Display.getWidth();
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_Window_Height"})
/*     */   public static int h() {
/*  62 */     return Display.getHeight();
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_Window_X"})
/*     */   public static int z() {
/*  68 */     return Display.getX();
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_Window_Y"})
/*     */   public static int v() {
/*  74 */     return Display.getY();
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_Resize"})
/*     */   public static void z(int a, int i) {
/*  81 */     Minecraft minecraft = Minecraft.func_71410_x();
/*     */     try {
/*  83 */       boolean bool = Display.isResizable();
/*  84 */       Display.setFullscreen(false);
/*  85 */       Display.setResizable(true);
/*  86 */       Display.setDisplayMode(new DisplayMode(a, i));
/*     */       
/*  88 */       z(bool);
/*  89 */       minecraft.func_71370_a(a, i);
/*  90 */       Display.setVSyncEnabled(minecraft.field_71474_y.field_74352_v);
/*  91 */       minecraft.func_175601_h();
/*  92 */     } catch (Exception exception) {
/*  93 */       exception.printStackTrace();
/*     */     } 
/*     */   }
/*     */ 
/*     */   
/*     */   @eos/moe/dragoncore/t(v = {"Display_Location"})
/*     */   public static void v(int a, int i) {
/* 100 */     Display.setLocation(a, i);
/*     */   }
/*     */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\km.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */